﻿
@{
    ViewBag.Title = "Details";
    Layout = "~/Views/Shared/_LayoutSecondPage.cshtml";
}

<div id="primary" class="inner group" />
<div id="crumbs" class="theme_breadcumb">
   <a class="home" href="@Url.Action("Index","Home")">首页</a>  &rsaquo;  <a class="no-link" href="@Url.Action("List","News")">新闻列表</a>  &rsaquo;  新闻详细
   <div class="breadcrumb-end"></div>
</div>
<div id="slogan" class="inner">
   @foreach (var item in (IEnumerable<RonYee.Models.News>)ViewData["newsDetails"])
     { 
        <center>
           <h2>@item.NewsTitle</h2>
           <p>发布时间：@item.AddTime.ToShortDateString()   编辑者：@item.Editor   关注 @item.ClickNum 次</p>
        </center>
        @(new MvcHtmlString(item.Contents))
     }
</div>

